<?php
class Lion_View_Helper_RateLink extends Zend_Controller_Action_Helper_Abstract
{
    private $_view;
	public function setView($view) {
		$this->_view = $view;
	}

	public function rateLink($hotel_id)
    {
        $view = new Zend_View();
?>
<a href="JavaScript:newPopup('/hotel/rates/hotelid/<?php echo $hotel_id ;?>');">Open a rates</a>

<?php
    }
}
?>